Page({
    data: {
        title: [ "一级（2）", "二级（2）", "三级（0）" ],
        curnav: 0,
        current: 0,
        list: [ [ {
            img: "/images/default_big.png",
            name: "姜",
            year: "2019",
            month: "01",
            day: "03"
        }, {
            img: "/images/default_big.png",
            name: "姜",
            year: "2019",
            month: "01",
            day: "03"
        }, {
            img: "/images/default_big.png",
            name: "姜",
            year: "2019",
            month: "01",
            day: "03"
        }, {
            img: "/images/default_big.png",
            name: "姜",
            year: "2019",
            month: "01",
            day: "03"
        } ], [ {
            img: "/images/default_big.png",
            name: "姜",
            year: "2019",
            month: "01",
            day: "03"
        }, {
            img: "/images/default_big.png",
            name: "姜",
            year: "2019",
            month: "01",
            day: "03"
        }, {
            img: "/images/default_big.png",
            name: "姜",
            year: "2019",
            month: "01",
            day: "03"
        } ], [] ]
    },
    onLoad: function(a) {
        var e = this;
        wx.getSystemInfo({
            success: function(a) {
                e.setData({
                    systemHeight: a.screenHeight,
                    systemWidth: a.screenWidth
                });
            }
        });
    },
    changenav: function(a) {
        var e = this;
        console.log(a);
        var t = a.currentTarget.dataset.index;
        e.setData({
            curnav: t,
            current: t
        });
    },
    change: function(a) {
        var e = this;
        console.log(a);
        var t = a.detail.current;
        e.setData({
            curnav: t,
            current: t
        });
    }
});